<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>邮箱激活</title>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta http-equiv="Expires" CONTENT="0">
    <meta http-equiv="Cache-Control" content="no-siteapp,no-transform,no-store, no-cache, must-revalidate">
    <meta http-equiv="Pragma" content="no-cache">
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"/>
    <link rel="stylesheet" href="/static/css/font.css">
    <link rel="stylesheet" href="/static/css/weadmin.css">
    <script type="text/javascript" src="/lib/layui/layui.js" charset="utf-8"></script>
    <link rel="stylesheet" href="/static/css/buildUnit/common.css">
    <style>
        body {
            height: auto;
        }

        .tipBox {
            background: #f4f4f4;
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            box-sizing: border-box;
            padding: 10px 10px 20px 10px;
            margin: 50px auto;
            width: 800px;
            display: none;
        }


        .top {
            height: 100px;
            position: relative;
            background: #F0F0F0 url(/static/images/1.png) no-repeat center center;
            background-size:1400px auto;
        }

        .top_center {
            position: absolute;
            z-index: 4;
            top: 26px;
            width: 100%;
        }


        .rf {
            float: right;
        }

        .w1000 {
            width: 1000px;
            margin: 0px auto;
            height: auto;
            overflow: auto;
        }
        .yhzx {
            margin-top: 30px;
            text-align: right;
            font-size: 17px;
            color: #1577dc;
        }


        .content {
            width: 1200px;
            margin: 0 auto;
            align-content: center;
        }
        .footer {
            position: fixed;
            width: 100%;
            bottom: 0;
            text-align: center;
            background-color: #fff;
            padding: 10px 0;
        }
        .jsdwTr{
            display: none;
        }
        .personTr {
            display: none;
        }

        .top {
            height: 100px;
            position: relative;
            background: #F0F0F0 url(/static/images/1.png) no-repeat center center;
            background-size:1400px auto;
        }

        .top_center {
            position: absolute;
            z-index: 4;
            top: 26px;
            width: 100%;
        }

        .rf {
            float: right;
            overflow: hidden;
        }

        .w1000 {
            width: 1200px;
            margin: 0 auto;
            height: auto;
            overflow: auto;
        }
        .yhzx {
            text-align: right;
            font-size: 17px;
            color: #1577dc;
        }
    </style>
</head>
<body>
<div class="top">
    <div class="top_left"></div>
    <div class="top_center">
        <div class="w1000" style="position:relative;">
            <div class="rf">
                <div class="yhzx">
                    <a href="/pages/register/unit/signUp.html">企业注册</a>&nbsp;|&nbsp;
                    <a href="/pages/register/user/userSignUp.html">个人注册</a>&nbsp;|&nbsp;
                    <a href="/">已有账号？去登陆</a>
                </div>
            </div>
            <div class="cf"></div>
        </div>
    </div>
    <div class="top_right"></div>
</div>



<div class="content">
    <div class="layui-row registerBox">
        <div class="layui-col-xs4 layui-bg-blue">
            1、填写注册信息
        </div>
        <div class="layui-col-xs4 layui-bg-blue borderCustom">
            2、验证邮箱
        </div>
        <div class="layui-col-xs4 layui-bg-blue">
            3、系统审核
        </div>
    </div>
    <div class="tipBox">
        <h1 style="color:blue;">邮箱验证成功，请等待系统审核，审核结果可在登陆后查询。</h1>
        <p style="margin-top:20px;">感谢您的注册！您的登录账号为：<span id="userName"></span></p>
        <p><span id="time">10</span>秒后自动跳转到登录页面。 <a target="_blank" href="/login.html">立即跳转</a></p>
    </div>
</div>


<div class="footer" style="background: #f3f3f3;padding: 30px 0px;box-sizing: border-box;">
    <div class="footer_con" style="color: #333;width: 345px;margin: 0px auto;box-sizing: border-box;padding: 0;">

        <!--
              <img class="lf" src="/statics/images/zd.png"  style="border: none;vertical-align: middle;float: left;margin: 30px 20px 10px 0px;
      }"/>
        -->
        <div class="footer_con_text" style="width: 500px;text-align: left;">
            <!--
             <p style="margin: 0;padding: 0;word-wrap: break-word;box-sizing: border-box;">
                <a>设为首页</a>|
                <a>联系我们</a>|
                <a>本站声明</a>
            </p>
            -->
            <p>主办单位：广西壮族自治区人民政府  技术支持：河北霄岭工程设计咨询有限公司</p>

        </div>
    </div>
</div>

<script src="/static/js/main.js"></script>
<script type="text/javascript">
    layui.use(['jquery', 'configure', 'configureCom', 'selectFun', 'bluebird'], function () {
        var form = layui.form;
        var configure = layui.configure;
        var configureCom = layui.configureCom;
        var selectFun = layui.selectFun;
        window.$ = layui.jquery;
        var sign = configureCom.GetQueryString('sign');
        configureCom.postDataAjax(configure.COMPANY_EMAIL_VERIFY_HTTP, {enSignId: sign}).then(function (res) {
            if (res.code == 0) {
                var time = 10;
                var timer = setInterval(function () {
                    time--;
                    $('#time').html(time);
                    if (time == 0) {
                        clearInterval(timer);
                        location.href = '/login.html';
                    }
                }, 1000);
                $('#userName').html(res.result);
                $('.tipBox').show();
            } else {
                location.href = '/login.html'
            }
        });
    });

</script>
</body>
</html>
